<template>
    <div class="find">
        <div class="box">
            <div class="nav">
                <h1 v-for="item in nav" :key="item.id">{{ item.text }}</h1>
            </div>
        </div>
        <div class="banner">
            <img src="../assets/发现/banner.png" alt="">
        </div>
        <div class="message">
            <h1>35万左右奔驰C级和宝马3系哪款车是你的菜?</h1>
            <img src="../assets/发现/pic.png" alt="">
            <div>
                <span>问个车</span>
                <img src="../assets/发现/v.png" alt="">
                <span>18评论</span>
                <span id="gary">#奔驰C级</span>
            </div>
        </div>
        <div style="height:20px ;"></div>
        <div class="info">
            <div class="top">
                <div>
                    <img src="../assets/发现/迪克萨斯.png" alt="">
                </div>
                <div>
                    <h1>凯迪拉克CT5社区</h1>
                    <span>所向披靡ok 发布了</span>
                </div>
            </div>
            <div class="middle">
                <h1>凯迪拉克CT5</h1>
            </div>
            <div class="bottom">
                【个人情况】 一转眼今年就28岁了，跟老婆离婚也有3年了。该释怀的也要释怀了，现在准备拿手里那仅有的15万的积蓄买一台能装装面子的车开开，过
            </div>
            <div class="pic">
                <img src="../assets/发现/pic2.png" alt="">
                <img src="../assets/发现/pic3.png" alt="">
            </div>
        </div>
        <div style="margin-top: 100px;"></div>
    </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'

export default defineComponent({
    setup () {
        let nav = [
            {
                id:1,
                text:'推荐'
            },
            {
                id:2,
                text:'小视频'
            },
            {
                id:3,
                text:'原创'
            },
            {
                id:4,
                text:'直播'
            },
            {
                id:5,
                text:'视频'
            },
            {
                id:6,
                text:'易车号'
            }
        ]
        return {
            nav
        }
    }
})
</script>

<style scoped>
.find{
    background-color: #F6F6F4;
    width: 100%;
}
.box{
    background-color: white;
    width:100%;
    padding: 30px 0;
}
.nav{
    width: 90%;
    background-color: white;
    display: flex;
    justify-content: space-evenly;
    line-height: 60px;
}
.nav h1{
    font-size:30px;
}
.nav h1:first-child{
    font-size:40px;
    font-weight: bolder;
    border-bottom: 6px solid #3068F9;
}
.banner{
    width: 95%;
    margin: auto;
    height: 400px;
    padding: 30px 0;
}
.banner img{
    width: 100%;
    height: 100%;
}
.message{
    background-color: white;
    width:90%;
    margin:auto;
    border-radius:15px;
    padding: 20px;
}
.message h1{
    font-size:30px;

}
.message img{
    width:100%;
    height: 150px;
    margin: 20px 0;
}
.message div{
    color: #A2A2A4;
    font-size:20px;
}
.message div img{
    width: 20px;
    height: 20px;
}
.message div #gary{
    color: #676769;
}
.info{
    background-color: white;
    width:95%;
    margin: auto;
    padding: 30px 0;
    border-radius:15px;
}
.info .top{
    display: flex;
    font-size:20px;
}
.info .top img{
    width: 140px;
    height: 100px;
}
.info .top h1,.info .middle h1,.info .bottom{
    color: black;
    font-size:30px;
}
.info .top span{
    color:#9A9A9C;
}
.info .pic{
    width:100%;
}
.info .pic img{
    width:48%;
    height:300px;
    margin-right: 1%;
    border-radius:15px;
}
.info .bottom{
    margin: 20px 0;
}
</style>